Skip to content

feat: add hidden dance easter egg#260

Merged
wbxl2000 merged 6 commits into
mainfrom
qer/hidden-dance-easter-egg
Jun 1, 2026
Merged

feat: add hidden dance easter egg#260
wbxl2000 merged 6 commits into
mainfrom
qer/hidden-dance-easter-egg

Conversation

@wbxl2000
Copy link
Copy Markdown
Collaborator

Related Issue

No linked issue; this is a small hidden TUI easter egg requested by maintainers.

Problem

The TUI did not have a hidden visual easter egg for playful discovery.

What changed

  • Added an unlisted /dance fallback command that runs after builtin command and skill resolution.
  • Added a small isolated dance state for rainbow rendering in the welcome banner and footer model label.
  • Kept the easter egg out of help and autocomplete, with focused tests for command handling and rendering.

Checklist

  • I have read the CONTRIBUTING document.
  • I have linked a related issue, or explained the problem above.
  • I have added tests that prove my feature works.
  • Ran gen-changesets skill, or this PR needs no changeset.
  • Ran gen-docs skill, or this PR needs no doc update.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 31, 2026

🦋 Changeset detected

Latest commit: d2a8d8a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@moonshot-ai/kimi-code Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 31, 2026

pnpm dlx https://pkg.pr.new/@moonshot-ai/kimi-code@d2a8d8a
npx https://pkg.pr.new/@moonshot-ai/kimi-code@d2a8d8a

commit: d2a8d8a

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c92020e143

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread apps/kimi-code/src/tui/tui-state.ts Outdated
Comment on lines +62 to +64
installRainbowDance(() => {
ui.requestRender();
});
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Dispose the dance controller when the TUI stops

When a user runs /dance and exits before DANCE_FLOW_MS elapses, the controller installed here remains in module state because KimiTUI.stop() stops the UI/harness but never disposes this controller. Its interval/timeout can keep the event loop alive and continue calling ui.requestRender() on a stopped UI in embeddings or tests that do not immediately process.exit; tie this installation to a disposer that is invoked during shutdown.

Useful? React with 👍 / 👎.

@wbxl2000 wbxl2000 merged commit 178827d into main Jun 1, 2026
8 checks passed
@wbxl2000 wbxl2000 deleted the qer/hidden-dance-easter-egg branch June 1, 2026 13:02
@github-actions github-actions Bot mentioned this pull request Jun 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant